package com.seanLab.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by ailly on 17-9-25.
 */
@Document(collection = "editorAddTag")
public class EditorAddTag implements Serializable {
    @Id
    private String addTagID;

    private String sessionID;
    private Date addTagDate;
    private String imgID;
    private List<String> newTagName;
    private int updateFlag;

    public EditorAddTag() {
    }

    public EditorAddTag(String addTagID, String sessionID, Date addTagDate, String imgID, List<String> newTagName, int updateFlag) {
        this.addTagID = addTagID;
        this.sessionID = sessionID;
        this.addTagDate = addTagDate;
        this.imgID = imgID;
        this.newTagName = newTagName;
        this.updateFlag = updateFlag;
    }

    public String getAddTagID() {
        return addTagID;
    }

    public void setAddTagID(String addTagID) {
        this.addTagID = addTagID;
    }

    public String getSessionID() {
        return sessionID;
    }

    public void setSessionID(String sessionID) {
        this.sessionID = sessionID;
    }

    public Date getAddTagDate() {
        return addTagDate;
    }

    public void setAddTagDate(Date addTagDate) {
        this.addTagDate = addTagDate;
    }

    public String getImgID() {
        return imgID;
    }

    public void setImgID(String imgID) {
        this.imgID = imgID;
    }

    public List<String> getNewTagName() {
        return newTagName;
    }

    public void setNewTagName(List<String> newTagName) {
        this.newTagName = newTagName;
    }

    public int getUpdateFlag() {
        return updateFlag;
    }

    public void setUpdateFlag(int updateFlag) {
        this.updateFlag = updateFlag;
    }
}
